package com.itheima.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 用户实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String name;
    private String mobile;
    private String password;
    private String salt;
    private String status;
    private Date createdOn;
    private String isDeleted;
    private Integer roleId;
    private Integer classId;
    private Integer groupId;
    private String groupName;
    private Integer integral;

    @TableField(exist = false)
    private Integer groupsIntegral;
    @TableField(exist = false)
    private List<Assignment> practiceList;

    @TableField(exist = false)
    private Integer count;
    @TableField(exist = false)
    private Integer userId;
}
